$(function() {
	$("#deleteBtnID").click(function(){	
		var id = $(this).attr('sekolah');	
		$( "#dialog-confirm" ).dialog({
			resizable: false,
			height:160,
			modal: true,
			buttons: {
			"Yes": function() {
				window.location.href = base_url+'/sekolah/delete/'+id;
			},
			"No": function() {
			$( this ).dialog( "close" );
			}
			}
		});
	});
});